[hidden] {
  display: none !important;
}

.pic-plus > * {
  display: inline-block !important;
  vertical-align: middle;
}

.pic-plus span {
  font-size: 30px;
  color: #aaa;
  margin: 0 20px;
}

.toc-affix {
  &.fixed {
    position: fixed;
    top: 70px;
    right: 30px;
    .ant-anchor-ink {
      left: 20px;
      &::before {
        width: 1px;
      }
    }
  }
  .ant-affix {
    overflow: visible;
  }
  nz-link {
    font-size: 12px;
  }
  .ant-anchor-link-active {
    border-color: @primary-color;
    color: @primary-color;
  }
}

label {
  &.api-type-label {
    padding: 1px 10px;
    font-size: 12px;
    border-radius: 4px;
    line-height: 18px;
    display: inline;
    vertical-align: middle;
    color: #fff;
    margin-left: 8px;
    font-weight: normal;
    text-transform: uppercase;
    &.directive {
      color: @magenta-6;
      border: 2px solid @magenta-6;
    }
    &.component {
      color: @blue-6;
      border: 2px solid @blue-6;
    }
    &.service {
      color: @green-6;
      border: 2px solid @green-6;
    }
  }
}

span.ant-component-decs {
  font-size: 12px;
  position: absolute;
  color: #aaa;
  right: 16px;
}